package com.gmstu.springframework.core;

/**
 * @author John.Zhang
 * @version Id: GpBeanFactory, v 0.1 2020/8/19 18:03 ZhiYong Exp $
 */
public interface GpBeanFactory {

    /**
     * 根据beanName从IOC容器中获得一个实例Bean
     *
     * @param beanName
     * @return
     */
    Object getBean(String beanName);

    /**
     * 根据beanClass从IOC容器中获得一个实例Bean
     * @param beanClass
     * @return
     */
    Object getBean(Class<?> beanClass);
}
